home *** CD-ROM | disk | FTP | other *** search
- In a message dated 08 Feb 96, jasonb@cs.uwa.edu.au wrote to All:
-
- jcu> bornhall@karkis.canit.se (Peter Bornhall) writes:...go on, what more?
- jcu> Oh yeah, disappering objects, what's that? I've neverheard of it (I
- jcu> think).
-
- jcu> Objects can be assigned a priority, so that if MUI is having difficulty
- jcu> fitting a window onto a screen it can start leaving out objects based
- jcu> on that priority. You would use it, for example, for redundant images
- jcu> that you've just included as visual cues but aren't really necessary -
- jcu> such as the little pictures of monitors in PSI's Edit Screen/Display
- jcu> page. It also reduces font sizes, but I can't remember which technique
- jcu> it tries first.
-
- Ahh, I see. Well, that could be good in some cases I guess. But one thing I
- don't like with MUI is (I was fiddling with the prefs program just recently)
- that darn window-resizing! I see it as an unwritten rule, that resizable
- windows should NEVER EVER be fiddled with. ONLY the user should be able to
- resize and/or select if (and when) a resize should occur (zip-gadgets etc.)
-
- >> That IS the question! You stated that I could turn off some fancy
- >> settings and it wouldn't grab as much memory etc, etc... So go ahead and
- >> tell me, or admit that you can't answer it.
-
- jcu> To minimise memory usage, all you can really do is use the internal
- jcu> images for all the scrollbars, arrows, checkmarks, cycle gadgets, etc,
- jcu> *not* use any fancy backdrops for windows, groups, buttons, etc, not
- jcu> use a separate screen, and turn off the ARexx port, etc, as I said in
- jcu> an earlier post. That's about it.
-
- Been there, done that. And here I thought I've always missed something that
- made MUI open all these libs. Come on, did you really think I hadn't turned
- off everything I could lay my eyes on? And it still eats resources, like it
- was bred to do.
-
- >> Fine with me. We can start with the excessive configurability, that
- >> should cover a lot of it.
-
- jcu> I think the configureability is an overestimated component in terms of
- jcu> the size of MUI. Displaying arbitrary backgrounds, for example, only
- jcu> needs to be implemented once in one class (Area), all the rest inherit
- jcu> it automatically. Just doing a quick check, I count 31 custom classes
- jcu> implemented in muimaster.library itself, in addition to the 37
- jcu> external ones. Now, dividing the size of muimaster (156,532 bytes) by
- jcu> 31 classes gives an *average* size of 5049 bytes per class, ignoring
- jcu> all the space in muimaster taken up by the (I count 22) support
- jcu> functions.
-
- jcu> The only real way to make MUI smaller is to start culling classes.
-
- Then, all I can say is, I'm sorry for MUI. Seriously, does it REALLY NEED all
- those classes?! As a comparison, BGUI is quite a bit smaller, and consists not
- only of the main library, but also of some external LINKABLE classes, that
- might be used for those "not-so-often-used" features.
-
- jcu> If you really think Stefan doesn't care about code bloat, you should
- jcu> see him go on about it when someone suggests adding just one more hook
- jcu> (4 bytes) into, say, Areaclass.
-
- Well, I understand him. When you've got so much bloat on your hands already,
- you wouldn't exactly want more, would you?
-
-
- /\ _
- /\ \// Peter Bornhall bornhall@karkis.canit.se
- /_ \// -======================================================-
- /_\\//_\ Amiga, boldly going where no computer has gone before!
-
-
-